package com.appwoo.txtws.component;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;

public class TimeHelper
{
  public static boolean compareAsmallB(String paramString1, String paramString2)
  {
    try
    {
      SimpleDateFormat localSimpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
      Date localDate = localSimpleDateFormat.parse(paramString1);
      int i = localSimpleDateFormat.parse(paramString2).compareTo(localDate);
      boolean bool = false;
      if (i > 0)
        bool = true;
      return bool;
    }
    catch (ParseException localParseException)
    {
      localParseException.printStackTrace();
    }
    return false;
  }

  public static String getCurrentMin()
  {
    SimpleDateFormat localSimpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss ");
    localSimpleDateFormat.setTimeZone(TimeZone.getTimeZone("Asia/Shanghai"));
    return localSimpleDateFormat.format(new Date());
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.component.TimeHelper
 * JD-Core Version:    0.6.2
 */